﻿{include file="./include/header.tpl"}
<div class="contentFrame">
    <div class="hr cB mb20"></div>
    <div class="contentBox">
        {include file="./include/banner.tpl"}
        <div class="jobDetailFrame tC">
            <div class="jobDetailBox">
                <div class="title">
                    <strong> <span class="label">＜{$lang.job_num}{$jobDetail.job_code}＞</span> <br>
                    </strong>
                </div>
                {if !empty($jobDetail.save_logo)}
                <div class="mt20">
                    <img alt="" src="/photo/{$jobDetail.save_logo}" width="90" height="60">
                </div>
                {/if}
                <table border="1" cellpadding="0" cellspacing="0" class="jobDetailTable">
                    <tr>
                        <td>{$lang.content_title}</td>
                        <td>{$jobDetail.content_title|nl2br}</td>
                    </tr>
                    <tr>
                        <td>{$lang.content_industry}</td>
                        <td>{$jobDetail.content_industry|nl2br}</td>
                    </tr>
                    <tr>
                        <td>{$lang.content_category}</td>
                        <td>{$jobDetail.content_category|nl2br}</td>
                    </tr>
                    <tr>
                        <td>{$lang.content_salary}</td>
                        <td>{$jobDetail.content_salary|nl2br}</td>
                    </tr>
                    <tr>
                        <td>{$lang.content_location}</td>
                        <td>{$jobDetail.content_location|nl2br}</td>
                    </tr>
                    <tr>
                        <td>{$lang.content_jp_skill}</td>
                        <td>{$jobDetail.content_jp_skill|nl2br}</td>
                    </tr>
                    <tr>
                        <td>{$lang.content_en_skill}</td>
                        <td>{$jobDetail.content_en_skill|nl2br}</td>
                    </tr>
                    <tr>
                        <td>{$lang.content_require}</td>
                        <td>{$jobDetail.content_require|nl2br}</td>
                    </tr>
                    <tr>
                        <td>{$lang.content_contract}</td>
                        <td>{$jobDetail.content_contract|nl2br}</td>
                    </tr>
                    <tr>
                        <td>{$lang.content_company_size}</td>
                        <td>{$jobDetail.content_company_size|nl2br}</td>
                    </tr>
                    <tr>
                        <td>{$lang.content_status_adopt}</td>
                        <td>{$jobDetail.content_status_adopt|nl2br}</td>
                    </tr>
                    <tr>
                        <td>{$lang.content_others}</td>
                        <td>{$jobDetail.content_others|nl2br}</td>
                    </tr>
                    <tr>
                        <td>{$lang.post_date}</td>
                        <td>{$jobDetail.regist_datetime|date_format:'%Y/%m/%d'}</td>
                    </tr>
                    <tr>
                        <td>{$lang.photo}</td>
                        <td>
                            {if !empty($jobDetail.save_sub_image1)}
                                <img class="photo_attach" alt="" src="/photo/{$jobDetail.save_sub_image1}">
                            {/if}
                            {if !empty($jobDetail.save_sub_image2)}
                                <img class="photo_attach" alt="" src="/photo/{$jobDetail.save_sub_image2}">
                            {/if}
                            {if !empty($jobDetail.save_sub_image3)}
                                <img class="photo_attach" alt="" src="/photo/{$jobDetail.save_sub_image3}">
                            {/if}
                        </td>
                    </tr>
                </table>
                <form action="/apply" method="post" id="formDetail" name="formDetail">
                    <input type="hidden" name="transid" value="{$transactionid}">
                    <input type="hidden" name="mode" value="apply">
                    <input type="hidden" name="job_code" value="{$jobDetail.job_code}">
                </form>
                <button onclick="back()">{$lang.backBtn}</button>
                <button onclick="apply()">{$lang.applyBtn}</button>
            </div>
        </div>
        <div class="cB mb20"></div>
    </div>
</div>
<script type="text/javascript">
function back() {
    location.href = "jobList";
    return false;
}

function apply() {
    document.formDetail.submit();
    return false;
}
</script>
{include file="./include/footer.tpl"}